<template>
  <el-carousel height="350px" width="50%">
    <div>
      <el-carousel-item>
        <img src="@/assets/carousel/1.png" class="carousel-img" />
      </el-carousel-item>
      <el-carousel-item>
        <img src="@/assets/carousel/2.png" class="carousel-img" />
      </el-carousel-item>
      <el-carousel-item>
        <img src="@/assets/carousel/3.png" class="carousel-img" />
      </el-carousel-item>
      <el-carousel-item>
        <img src="@/assets/carousel/4.png" class="carousel-img" />
      </el-carousel-item>
    </div>
  </el-carousel>
</template>

<style lang="scss" scoped>
.text-center {
  width: 70%;
  margin: auto;
}
.carousel-img {
  width: 100%;
  height: 100%;
}
.demonstration {
  color: var(--el-text-color-secondary);
}

.el-carousel__item h3 {
  color: #475669;
  opacity: 0.75;
  line-height: 150px;
  margin: 0;
  text-align: center;
}

.el-carousel__item:nth-child(2n) {
  background-color: #99a9bf;
}

.el-carousel__item:nth-child(2n + 1) {
  background-color: #d3dce6;
}
</style>
